Re-added the main.py and profiler.py modules in the hope that they will be updated in git