Made a very brittle demo of database querying.
Added front-end support for _ids; updating database schema assumptions.