implement device tree and group tree

implement device tree and group tree and commit