refactored and now you can add rows

Refactored using an oop aproach and a subviewmodel