Separate class Schedule from test.h