Simple iOS persistence layer with in memory caching