3 screen application with home made MVC and statemachine