added a controller and the stylesheet