add controller and tests and html output