Changing pathway download script
Refactoring pathway_db code.