Created Game class restructured code