Made monitoring code use yaml config
Merge pull request #9 from hardikj/master

Made monitoring code use yaml config