GCM codes

Added codes for GCM. Note that the backend is still Non App Engine