JFG-694 Remove entities and parameters from core to dbapi module