Python Mvvm Pattern Example