Oh, and the template files go in yourOacsInstance/packages/yourPackage/www/
And if you have foo.tcl and foo.adp in there, then you would mount a new instance of yourpackage somewhere, using the site map, say it's mounted on /pkg.
then, you can access it as http://your.site/pkg/foo