pass arguments to algorithms as numpy arrays
create temp directory on startup