templates function, load file
template name fix
alpha app, load file via imp, bugfixes py3k