refactored getDigest
added some debug messages
cache tree list in Treedigests object
refactored Digest
added constructor
added ensurePreparedDigests
added methods for accessing internal attributes
refactored Tree with new interfaces
some experimental files