Added a viewmodel to bind the ui to.