updated code and folder structure to support pathogen
added support for pathogen
Merge pull request #1 from liujoey/master

added support for pathogen