Add IoC resolver.
Add Cache factory and interface.
Update sample index page to reflect and test changes.