Plugin development

Look at examples in plugins directory.