More singleton pattern conversion
Resource files should be relative to the plugin