add util method to turn off sql logging
move snapshot helpers to utils dir