Refactor: Added C++ Plane class, replaced planelist_t with a QSet