Now uses a settings.json to specify server settings
removed redundant vars