refactoring nw.js api
refactoring nw.js api

cbop-dev/tagspaces,cbop-dev/tagspaces,tagspaces/tagspaces,tagspaces/tagspaces,cbop-dev/tagspaces,tagspaces/tagspaces,tagspaces/tagspaces,tagspaces/tagspaces,tagspaces/tagspaces,tagspaces/tagspaces,tagspaces/tagspaces