Querying domains, flushing results

This commit adds a functions file, a couple templates, basic styles,
and querying of the domains acquired from Wikipedia. Output is flushed
following each response.