Use glib command line parser. Closes #21