move post type into plugin from theme