Move SQL operations to different namespace