add __main__ and config.json