adds basic api support for current and past tips, removes extra whitespace from csv headers