import function

tested rebuilding DB and importing data.