Added license
Started refactoring Pubmed code and adding documentation