Added and configured posts controller and posts view