primary build
proper download function added and making renaming moving to the same
removed pdb
Merge pull request #1 from ahujamoh/master

added seperate fn for download, and minor checks to prevent warning being shown(for eg mkdir)