added build function.

added build function utility, updated license info for npm.