Updated decorator and patched requests function to switch datasets on the fly. Added support for specifying data set base directory.