Added interface for adding rows to tables. Includes slight refactoring of csv import to always handle row insertion in the same place.