[WIP] Refactored kernel structure

Refactored kernel structure.

__Tasks:__

- [ ] PHP Docs
- [ ] Kernel parameter
- [ ] Do a benchmark against the current kernel
- [ ] Check if documentation needs updating
- [ ] gather feedback for my changes


__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | no
| Fixed tickets | -
| Doc           | -
Is this class defined by us? If yes it would totally make sense.