class: first stab at implementing TClass
decoder: use panic(err) instead of panic(string)
file: remove recover-the-panic