1. Moved to cursor based parsing from event based stax model
2. Also removed some unused code