fix. change behaviour around "pkl_data".  Rename to "api_data" and initialize with server, no longer load from file.
mod. remove class wrapper around setup and teardown of api run script.