Added posts controller and view