added model classes plus controller class plus mainView class