adding collector changes.
Merge branch 'master' of https://github.com/yogesh-patel/optimizer