[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           | -
File should not be added.