a small set of classes to encode and validate data sent b/w servers