javadoc update
re-added stub logic for transactions
More unit tests