added build scripts and doc scripts and api docs scripts