Started working out a pipeline.

The pipeline is still partly broken (no error handling)
System currently only works with a single client connected.