Added config functions and began with the real sftp functions