add config load and save with some more params