clean code and add a few comments.In the other hand add Inheritance in modelviews