add the library project and sample application