[L4] Instantiate the MethodDispatcher through an IoC container

So that MethodDispatcher->addRepository() can be called externally.