ftp connection management functions added
constructor and basic methods added