fixed TimeSlot dataclass and renaming of capability class