PassThroughCode refactoring and create PassThrough Core and API for enhace reusability

what is operatingPort ? add a comment