Refactored single post into its own class.