There has a been a lot of advancements in Coredata for iOS10, some of which are
1. Simplified stack
2. Class methods for creation, insert etc… very nice.

To support both iOS10 & less. I thought of moving the coredata methods into one class so that it can be managed properly and Appdelegate will be lighter. So here is my try