[refactoring] using RestHandler instead of CrudHandler