Second Commit

@Ajay, Pranav: I had to make some drastic changes so as to implement
push notifications. I haven't implemented push notifications yet. The
current code does the same thing which the older app did.  While I'm
working on adding PNs, can you guys check if this thing has any bugs?