Added views, edited controller.