move typeahead to it's own controller