Bug 1010749 - [FTU-Separation] Extract import build logic into a common file in order to be used as well by FTU app