Refactored slots. Removed BookingSlots module and replaced with separate classes for CourtsTable and Calendar.
further changes to courts_table to improve efficiency. Moved courts over to test unit.
Finished slots refactor. Optimised code. Abstracted out Table which can be used by courts and calendar. Changed courts_path route so that colons are no longer used. Added comments.
Finished slots/courts/table refactor. Fixed some bugs. Improved the ways cells are presented.
Fixed bug with view which was showing null cells. Fixed bug with dup which meant original grid was being infected.
Fixed a bug with closed slots. Refactored some of the methods to remove the need to reference classes.
Finished refactor of slots, courts and table.
removed debugging from view.
modified test suite.
merged slots-refactor branch
cleaning up/