Adding region property

Refactoring baseURL calculation
Fixing analyzer warning for possible nil value of date in dictionary literal