made gamecontroller a singleton