refactoring views
create a view class responsible for rendering row stuff