New middleware management and integration of PBS