How to define one hops component per python file?

hi, I finally was able to define a project with separate python file for each component. It was not straightforward. I used the vscode tutorial

The result can be seen in the project below (have been test on macos only)