added RootGroup class and others