implemented database transactions
DA-61 Refactored importing contacts out of Activity and moved to model