Added IoC functionality

One IoC container for all modules