Implements controller stack
Adds controller logic to the game frame