example gl app using kms/gbm