Cleaned up port i/o port initializations

converted port inits to hex format