Rename main.py to controller.py and remove generated file and fix gitignore