add the demo
build the library