Improved the docs and changed build script