cppsp: updated modules to new api