Initial commit of port.c