implementation of Transactions, added Pie and Map to Statistics