Encoder [WIP]

Work-in-progress improvements to the encoder. I'm trying to get it to be fully functioning.