Moved all the functions to one file. Cleaned up the header file. Fixed issues within code.
Fixed the client download function to conform to specs. Download is no longer multithreaded.