Moved sax parser to controller