Changes for frequency support in templates, new plugin-gen, xmlrpc wip