refactor(kernel): remove dead code

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
refactor(kernel): cleanup interfaces

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
checkpoint

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>