simplify code and usage by not requiring the path to the XML file anymore
simplify code (no 'static' needed)
small code cleanup