Finalized and tested rough draft version of Core Data setup