playing around with the codec architecture (warning: this is a complete
mess right now!)