Moved the GCM registration methods to thier own class