added template and model modules