Add missing docstrings to main.py and settings.py.