PassThroughCode refactoring and create PassThrough Core and API for enhace reusability

Formatting need be corrected in everywhere