converted source to typescript, added gulpfile.js to build both a node modules and a universal module