structure for saving configs