Renamed api/ to core/
Added comparison operators to TimelineBlock and a small range checking to SleepTimelineBlock.