creation of the template directory