updated local.env.addServer to accept functions as well as local.env.Server objects