added classes for creating custom post types