Added ftp library and ftp helper code