fix root dir determination

* rename some fields in BaseProcessor
* fix determination of root dir for folders. Determination was coupled with current symfony folders structure:
 `$path = realpath($this->basePath.'../../../../');`