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.