added (but not tested) xml output
added xml output of stats
refactor enumerate and save bus and device number