implementing json config loading
implemented json config saving