added get routines and corrected sendWith function in persistence/stores-api