Moving timetable-making into a controller to make life easier when different data providers are added.