Made classes completely dynamic and added editable setting for number of
time slots