Refactor port.lua
remove module lines
Cleanup the use of modules