Added basic marshalling outline for getting client to write to server

The marshalling is not fully functional but this is a good start for
it, also renamed some files to better portray their use