Added serialisation of traces to the raw_data exchange
Fleshed out basic architecture