Do not inject the service container.

Add a function to load all migrations from a directory.