Implemented Shifter class