Made into a class
added a call for gcmsend