diff --git a/examples/middleware/README.md b/examples/middleware/README.md
index 7f819fd..260855c 100644
--- a/examples/middleware/README.md
+++ b/examples/middleware/README.md
@@ -3,8 +3,8 @@ Photo Album Example (middleware)
Purpose: Demonstrate the use of Middleware
-/actions - ActionTypes and ActionCreator
-/stores - Store
-/middlewares - Middlewares
-/components - Dump UI components (Have no app dependencies. Receive only props, providing data and signal)
-/views - Smart UI Components (Receive data from Store and call actions)
+ /actions - ActionTypes and ActionCreator
+ /stores - Store
+ /middlewares - Middlewares
+ /components - Dump UI components (Have no app dependencies. Receive only props, providing data and signal)
+ /views - Smart UI Components (Receive data from Store and call actions)
diff --git a/examples/middleware/qml.qrc b/examples/middleware/qml.qrc
index 91927c5..f049560 100644
--- a/examples/middleware/qml.qrc
+++ b/examples/middleware/qml.qrc
@@ -3,7 +3,6 @@
main.qml
actions/AppActions.qml
actions/qmldir
- stores/PhotoStore.qml
stores/qmldir
views/ImageViewer.qml
actions/ActionTypes.qml
@@ -11,5 +10,7 @@
middlewares/ImagePickerMiddleware.qml
middlewares/NavigationMiddleware.qml
components/ImagePreview.qml
+ stores/RootStore.qml
+ stores/MainStore.qml
diff --git a/examples/middleware/stores/MainStore.qml b/examples/middleware/stores/MainStore.qml
new file mode 100644
index 0000000..ad2960b
--- /dev/null
+++ b/examples/middleware/stores/MainStore.qml
@@ -0,0 +1,5 @@
+pragma Singleton
+import QtQuick 2.0
+
+RootStore {
+}
diff --git a/examples/middleware/stores/PhotoStore.qml b/examples/middleware/stores/RootStore.qml
similarity index 95%
rename from examples/middleware/stores/PhotoStore.qml
rename to examples/middleware/stores/RootStore.qml
index 1a4b28a..c85d3c9 100644
--- a/examples/middleware/stores/PhotoStore.qml
+++ b/examples/middleware/stores/RootStore.qml
@@ -1,4 +1,3 @@
-pragma Singleton
import QtQuick 2.0
import QuickFlux 1.1
import "../actions"
diff --git a/examples/middleware/stores/qmldir b/examples/middleware/stores/qmldir
index fbe2254..475d5d7 100644
--- a/examples/middleware/stores/qmldir
+++ b/examples/middleware/stores/qmldir
@@ -1 +1 @@
-singleton PhotoStore 1.0 PhotoStore.qml
+singleton MainStore 1.0 MainStore.qml
diff --git a/examples/middleware/views/ImageViewer.qml b/examples/middleware/views/ImageViewer.qml
index db3105d..c6c5363 100644
--- a/examples/middleware/views/ImageViewer.qml
+++ b/examples/middleware/views/ImageViewer.qml
@@ -18,7 +18,7 @@ Rectangle {
spacing: 0
Repeater {
- model: PhotoStore.photoModel
+ model: MainStore.photoModel
delegate: Image {
width: viewer.width / 3
height: width / 4 * 3