Initial somewhat working version. Test run but several are failing because of
not being able to bind to a port.