[WIP] poc/apiimport2.0

Finally, after a talk with @BitOne and @nidup, we keep it to be compatible with pim 1.2.