Implementd demo for dependency injection types