Added module to handle templates