Configuraiton code nearly complete -- stil need port output set