Add Posts controller and configure routes