Adding plane class