added function to retrieve application’s document directory and properties for main core data setup