Moves rendering code to hero package.
Reduces duplication between model and contentencoders