Updated to work with settings namespaces
Changed to retrieve brand colors by function and removed local reference to defaults to allow it to be garbage collected