Making UI template primary file