Parser. Use events.EventEmitter and util.inherits