More tests and some progress. Also a first kernel. Also a simulator to
test the kernels.