split controllers out into their own file, and made some progress on the typeahead box.