Queries

It all "works" now. Going to do some styling and bug hunting.