Ported everything to GameManager class