Cleanup / refactor model view and renderer

[#44616231]

Useful (or necessary...) before adding onClick events support.