Put viewer template in a separate file