Integrate back-end code and UI