MVVM demo for accessing database