Added the adapter inside the dependency injection file.