Arathorn593 nano encoder

Added new lib_encoder