Encoderwork

Fixes #75