feature(config) add saving of config