self-instantiated main class/function

No need to use `new NwBuidler(opts)`, simply `NwBuidler(opts)` will do.