Implemented timer, removed main from game