IoC for View:: class