Added Game States.
Modularized the game loop into the start, update, and end methods.