Renames templates directory to views. Adds cache and logs directory.