rename the template directory to view