I just want to run a one of program. I found this and think it might
work
SPSite siteCollection = new SPSite("http://localhost");
SPWebCollection sites = siteCollection.AllWebs;
sites.Add(<path>,<name>,<description>,1033,<template>,true,false);
I want to use my own template as in a .stp file.