Added static library target
Updated sample app to use static lib