adds template at root and makefile