Added dependency tree builder