Completed MVVM rewrite.

Entire application is now MVVM architecture.