added the ability of loading and saving configuration