Port configuration parsing to a separate object.