Divide db_utils
Refactoring