Added transaction.
Working on reports.
Change implementation so JRuby can work as expected.