Added create_course method to modulestore