Refactored and commented IocHelper and IocManager.