Initial Class, with custom post type function