Implementacion de IoC and ServiceLocator