added settings.json and parsed it in main