Update JSON functions
Update console_client.py: fix bugs
Add handler for SYNC operation
Merge pull request #25 from Relrin/dev

Merge #25: SYNC operation