move custom settings into settings.py.

This addresses issue 41.