Add IdeaStore class and tests.