Code formatting and use dispatch_once for the core data stack.