added csv import function (first prototype)