Documentation done for main.py