Change template directory hierarchy