First test scan. Separated DB access utilities