Added main game functionality and event handling
Fixed .gitignore to remove error stuff