support of user defined resource-bundle, refactoring