Feature/viewer partials

Implements system for model-based partials