Add gen/template directory