Master pos wms fva

remove functions from the global namespace