========================== The core modules of the QP ==========================