Added Encoder Rev Counter and Tenative Pinmap

Encoder code still needs testing