Kraken: new api ptobject external_code
Kraken: replace tab per spaces
Kraken: in place_code api use case, and factorization