add autocomplete and refactor UI to web (init)