[#0004] Added logging, tracing, xml config. Refactored driver