Refactoring, create rs-service security.