add glib2 config file
sample config file
change config file syntax
add config file support