Abstract classes (prototypes) for creating custom post types and taxonomies and registering WP API programmatically