We need to share various bits and bops throughout the different UI layers, we define a singleton resource that contains this code.