work on persisting data to LIMS2, added more attributes, logging and error catching