Class for building simple rectangles