Integrated type dependency detection (not fully tested yet). Made HBase maps generic. Added and fixed some unit tests