Implemented the Enviroment class and moved the gameLoop into that class. Will split up draw/move functions later