Moved core data stack to own object