Moved admin config to main lib.