Reformated PHP codes
Implemented push notification framework