Separate the C++ functionality from the Qml plugin