Finally I can download data

Check it out. I can now download data and images. Its time to make the
main app while cleaning up the bad practices.