moving to beamline lib, adding argsparse