Brainstorming a class to perform a deceleration for one encoder