Implemented logic.py and graphics.py, added file dialogue to main