remove old modules and created a Di module for the Kernel