Started writing the serialio class