setup base template files