add source, lib and build script