create util class; add init function for GCM (yet untested)