Added posts controller and views