output bridge seems to work fine now, fixed class hierarchy and serialization methods, other fixes