Changed the map and commands to be tile based.