Created controller and view