Added methods for rolling back, committing and beginning a new transaction