Changed the variable names and removed the update method in gameapp.