added local_settings example file and a bit of cleanup