Adopted ui.js, index.html and styles.css to use the new backend interface