Minimal (ugly) tree implementation.
Added tree map based on class-hierarchy.
Tree maps based on package structure.
Only adding synthetic root when necessary.
Reverse order.