Refactored ViewController to PostsViewController