Added saving keys to disk. Working on server connection. Next step is data transfer.