making process_custom_settings configurable
refactoring settings.py

 - adding documentation
 - reordering and grouping