Better configuration format (YAML?)

Python is awkward, use YAML for the configuration file.