initial working xml MDF export write. Needs major refactor/clean up
missing package injection code
Adding funcions to break package links
Cleaned up MDF export code. Adding MDF package injection