started working on client-server sync: fixed field names, added ajax paths
Merge remote-tracking branch 'origin/master'