templates

added some files, changed extensions, made .php templates. see hall chat
for explanation.