add scm
fix root element
fixing name/parent declarations, etc.