refactor to use node style imports/exports, switch to simpler bash script build, remove gulp dependency