added Model,View and Controller classes