Add global registry access to configuration class

Register a config file using #register and access it using #instance