Added k.lib source files