Split up the responsibilities of the PostsController