move all ports specific code into separate files under tools/ports/ #2404