             for own k, v of config
                 if validConfigProperties.indexOf(k) isnt -1
                     serverConfig[k] = v
-
         # emailer_config.json
         if Fs.existsSync(emailerConfigPath)
             serverConfig.emailerConfig = getConfigFromFile(emailerConfigPath)

                else
                    user = new User(email)
                    # Find if the user already exists in the admin interface collection
                    mongoInterface.findUser(user, 'admin_interface.users', next)
            (userRec, next) ->
                # Bypassing the waterfall
                if userRec then callback(null, user)

        'emailerConfig'
    ]

    Opts             = null
    dbName           = 'cloudbrowser'
    projectRoot      = null
    serverConfig     = {admins : []}
    mongoInterface   = null
    adminCollection  = 'admin_interface.users'
    serverConfigPath = null

    exclude = (key, value) ->
        if excludedProperties.indexOf(key) isnt -1 then return undefined
