now have the server working and handling the test connection from test.py
yet to see whether the data arriving is perfect but it looks promising