Code refactor.
Add send message to GCM.
Add logs to message send.