Added class robot, grid and controller.