Reworked DIC/IoC solution that includes class aliasing