Added downloading and refactored the ftp class a bit