added namespace kMC. removed friend dependency in testbed. removed KMC name prefix from debugger class.