Beginning of a simple sax parser