Created Posts controller and updated related views