implemented timeslot database class. +few updates to other classes