Added a createStore method