added transaction interface
Updated API.
Merge pull request #2 from luischavez/dev

Dev