Fixed Controller contructor to set view model (untested).