Documentation of Transaction class

Javadoc for Transaction class