removed view code from the viewmodel
[#13]