Added Dialog and a Connection class

Added a Dialog to Connect to the server
and a class to manage the ssh and sftp
connections.