create course-materials custom post type