KERequestor class added,  code refactoring.