Democracy as an Information System