Initial version of template plug-in structure working