Implement first version of autocomplete functionality