Work started on port support

Added preprocess script to build port request list. Other tweaks.
Resolve conflicts