refactored to browserify, moved some functionality to modules, nx manager to prototype
all widgets to prototype
Merge pull request #3 from sebpiq/master

All modules to require and now use browserify + all widgets use prototypes and inheritance