Implement save and load configuration