Added base to 'manual view'
Restructured main.py to auto.py and manual.py