better error handler, xml classes and parsers, add xstream lib