Finished GridController class