Set up Core data stack in app delegate