Encoders and More

Encoders still not working  (need some bugfixing to do)