adding missing import
updated environment setup to use config
updated is_successful to reflect discussion thread
cleaned up caching behavior, removed a few internal methods
cleaned up internals of jobtype download some
moving caching internal to new class
doc string
removing get_path (duplicate), making expandvars more universal