added base class
added custom post type class
extended main plugin file