Added transaction create and transaction commit logic