Upgrade snoode to latest
Add global api object
Move some deps to dev deps