Made config system more Pythonic

- Also added examples to docstrings