remove unneeded files
read config from config.json