PRIORITY: Make database functions all synchronized

Push
Made push read the production/sandbox from database

Messaging
Create create/delete/fetch/rename group
Going to addGroupMember

Todo: Work on P2P comm.
Todo: Test Push Sending API
Todo: Test the Synchronization