added config.json, which provides error messages and some minor fixes