added logging, dns, ftp functionality