implemented the ResourceBuilder style for singleton image resources