Refactor for future changes in domain layer
Add logging for insert and delete