An object-like document implementation on C