updated docs to cover IoC usage