generalization of creating motor widgets + motors in the tree are grouped