added documentation and build script