Draft: Vuex store refactoring suggestions
requested to merge 253-refactoring-improve-vuex-store-usage-suggestions-tim into 253-refactoring-improve-vuex-store-usage
I changed state to be a function instead of an object, as per the docs suggestions
Also unified the exports in the store