BaseProcessor class