Implemented persistence for configuration