added build tool and require/commonjs support