Changed layout, added class file + thread to check for GCM registration status