PassThroughCode refactoring and create PassThrough Core and API for enhace reusability

This class looks to be an important element of PT implementation. We should probably have some class-level comments, at least, added.