better logger and allow the winston object to be passed in
cleanup globals
cleanup tests and prepare spec helper for new changes