Refactored app delegate constants to singletons

db url, db name and organization