Initial commit for the mode store.