add kmlib as git submodule