Split the Kernel logic to a route resolver

Let the routeresolver create a callable from the route controller. This way it's easy to add a string that will be converted to a controller and an action