change name of the template module and make it stand-alone