first version of a gcm client