Cleaning up kernel before implementing event dispatcher. Event dispatcher service registered.