Adding posts controller and index page