cleaned up datetime usage and parsing, using strptime now
before ripping out all of the caching
major cleanup; removed caching; removed global vars
prep for pushing to github