more working logic
adding more basic logic flow
working now on deserialising
first pass deserialisation and peer storage
first pass deserialisation and peer storage