Creates custom post type for lessons.