Add database query util, fragment