some documentation added, explanatory comments, clearTransactions method
constructor documentation added
class description added