Added configuration, added support for multiple naming schemes, added newpagetemplate support