Implemented new way of syncing, namely with client generated id
added comment
Merge pull request #12 from DionKoolhaas/master

Included anonymouscontroller, enabled cross origin for methods in it and...
Merge with dion