Remove unused imports
Move code for create directly executable code into executables.py