key establishment and simplified main files for server and slave

Server and Slave can now be started using Server_Slave_MainTest