Refactored some code into a callbacks class. Added a game manager class to subscribe and fire callbacks.