added sax parser classes and some code from the internet