add resourceManager putKey() and getKey() method