First working part of MVVM