Refactored 'Post_Type' Class