refactoring code, add new http processor routing with uriPattern