Switching to libconfig, load and save work