create template directory