kindlogic and kindviewmodel init