First commit of serialization classes, makes it easier to read/write often used types (like an image in OpenCV or CImg