Class with db data