init template - model view