A simple generic c++ config reader