Added build script and changed main to point to lib/index.js instead of .jsx file.