Initial version of the custom post types class