Use libiniparser to parset the ini file

Signed-off-by: sndnvaps <sndnvaps@gmail.com>