enriched the c interface and switched the nvn app over to use it