add debugbinaries target
add InternalGet and InternalLen, and refactor Replace and LogicalRemove
to be Interal too