Writing smallest-app controller.