fixed Rex to thread safe
added batch processing to parse command (v2 parser batch processing is not supported yet)