Use libini to parse the configuration file

The configuration file now uses a syntax similar to INI files.