emerging structure

And started using JSDoc
progress