MDL-69166 core: define payment as a subsystem and pg as a plugin type