add datasource structures, autocomplete widget