Code example to show how build parts of ui manually and auto generate rest