Started writing the RectangleTool class