added lib/coursetype.rb