IOC WIP
Merge pull request #5 from vishal-h/middleware-wip

IOC WIP