split mappings generator into separate function
break out mapping generator into separate file, on copyright boundary
move foxpath into library