Added kb.c code
Added LICENSE.txt
Merge branch 'develop'