moving db import to package level init