KeyResourceBuilder refactored by Single Responsibility