[WIP] poc/apiimport2.0

Not exactly the same, I had remove the encoder part.