Created a beautiful controller to feed schedules using promises.