Seperated inputHandling into its own class and injected it into the
PlayerObject