Added ranger class (working)