Added some comments to persistence module
Added new auxiliary structure to store tree statistics