extract TomKernel so it can be Nuget'd