move store into its own package