added a resolving callback to ioc container.
update readme.