Added config.json and option parsing from config