Moved main.py to gtree.py and added tasks to TODO