Add proper transaction handling on csv import manager
Flesh out builddb script (inc. dodgy hard-coded paths to data)