refactored ModuleTemplate to plugin interface
1.3.0-beta2