sketched in the ability to switch between the normal Core Data file-based store (SQLLite) and an in-memory store
we'll use the in-memory store to manage the events downloaded from Medable, making the rest of the app work
exactly the same whether it's in trial mode or Medable mode (that's next)
this refactor should clean up all our Core Data crash issues etc. when it's done.