Added beginnings of Carpet class