Code refactoring. Added DisplayVM.