added partial autocompletion work

more work still required to implement autocomplete with search
capabilities