More work on downloading part

Began work on some required classes for file downloading.