Fixed html is not correctly parsed

e.g. "&amp;uuml;" is parsed to "&uum;" which is an invalid xml entity
Replaced SAX with Simple-XML, refactored hash generation, introduced configuration beans