converted schema to new pragma system.
copying new necessary functions from enrichment facility
adopting new method for the request portfolios
ugh, these pragmas generate things that clash with my other things.
still more random name clashes. I wonder where the docs are that explain what variabless these pragmas are randomly dumping into my class....
adds str