Configuration stuff (much of it temporary)

I plan to throw a lot of this away, but I wanted to feel my way through
getting a configuration file working.