added basic build script and sample code