Added some new features, and a build script for deployment.