Moved text store into its own package