fix typo in accounts.js
Add sync wrapper to be used with APIs
work on routes for account related information
Merge branch 'sync-api'