Arathorn593 nano encoder

Pull this code. Should be complete encoder code. 
Closes #32