Finished refactor of slots, courts and table.