Added check to see if the MMA module is enabled.

Added checks for each setting, if there is no email / appkey script will exit, for all other settings if there are no values for said setting, it will load the default value.