Added API Calls and edited some GCM stuff. Also commented out some stuff