Moved gameloop to controller. It's a shitty solution so far until the observable pattern is implemented