Add class Rectangle