added libkapi as a library in cmake file
KAPI interface is more neat