building out typeahead server.