Update service.rb

Now come the service.
1) Fetch all classes, subjects and students lists.
2) Fetch all timetable of classes
3) Update slots for each class and student.