added request processor capabilities, some refactoring/cleanup