add helper functions file, including statesToFips()