Simplified format parsing
Added Formatlist
Added DownloadOptions struct
Some refactoring