moved the in memory storage to it's own package