Rewrote azksettings as functions instead of classes