Adding explicit dependencies.
Minor refactoring.
Started to add kernel support.
Remove unused code.
Small refactoring.
Reordering imports.
Initial support for plotting kernels.