Change build model and tree structure to use DUB
Change to use package modules(instead of `all.d` modules)