Add API routes for timetables