delegating all database stuff to IdeaStore