Cleaned out the globals.

Turns out that they were not useful.  Gonzolas!
Got the code able to download a file from a server!

This introduces the first dependency: libcurl.