Made a GameLoop helper module to make game class cleaner