Added controller and view templates