Basic working on local host

sends a small text file over local host. Still needs to be tested over a
network and with larger files