code style fix: splits settings.py into different parts, now resides in Settings dir. also other code style fixes.