Add services and dependency injection.