got it working with mvvm and di