Created simple IoC class
Implementend the new IoC contrainer