Move player controller to globals