Add transaction support

Add simple methods for transactions support