add build script and unit test program.