First implementation otline of totalSerialization library