Encryption + major ReFactoring

Encryption added and refacotred alot of the code.
Will add a pop up window for connect to, then drag and drop file
transfer