plugin from function
work in progress: template for AI plugin
add a name method to the plugin