Added Slider and Rectangle class templates