decoupled processor from parser
added ability to replace regexps from config