refactor code resulting from replacing class_type

• in both frontend and admin, including class admin sidebar
• comment changes and deprecated methods
• remove all ClassType related models
• add rebuilt model classes