Move templates external