Created a player controller