Update code for create aliquot and derivative with BO and code clean up, write common code for save aliquot and derivatives