added course ratings function. Changed datastructures of schedules