version 0.1.1
complete restructuration of module:
main.js exports single module
module can be configured after construction