some changes api changes, still not happy with flush.start() needed dependencies like s3client and datastore but dont want to save them in flush which might cause a memory leak for these resources