Created custom post type object and extended

Created custom post type object and extended it for classes for
individual post types (saves a heap of code)