Complete refactor of module style

  - Convert to node style
  - Change build to bash
update script