add basic Main programs
added placeholder main programs and build scripts, remfactored kb to KBI