Create a controller to manage player's score