Allow network-wide queries

Closes #13 .
@lukecarbis You should add it here and I will just ignore my version when resolving the merge conflicts later.