refactored code, updated xml reader using sax api, added maven for dependency management