refactored - Post, Page and Pages classes removed