Refactored core data stack, now has a SQL core data stack as example.