Initial template with settings_dist.py as a starter - mainline merge.