working DB + basic static queries