Created a PostController and routed all resources posts to it.