Move ScheduleRepository from submodule in main repo