move config to config.json
first exercise modularized