improved template proj dir tree