client library using glib and gtk