[new,refactoring] using python-rest-handler library