Framework for transaction start, save and commit