Adding requirements.
Using a main function in main.py.
Adding env variables.
Cleaning local version.