break up / tidy up dqdownload
s/assert/if/
factor download functions together into a generator
fix capitalisation error