typeahead, winston, API nearly working
first cleanup