Modified CourseRegistraion, added datastore support for it.