Weave XML refactor

replaced all the code with the proper functions to clean up the xml
weave file. removed the underscore in the name as well and changed the
angle attribute to the rotation so all nodes match in naming.