main script working, and wrap pubmed xml parser into module