Changes to client server communication

instead of relying on standard paramiko pipes the server now writes to
a file which is then read by the client. It’s kind of hacky but it
works.