Custom IoC class