Add implementation of package and element importing

Change-Id: I752b80c3b616ff4f132001acaa55d308e0615325
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>