added some of the controller methods for the map, and implemented the dice controller