replace initStoreSession and initStoreContext by createStoreSession and createStoreContext and setters