Issue #1: First big refactor to convert config format to yaml.
Remove unused code.
Issue #7: Switch to importlib for module loading.