improve generatePluginCode
improve Main.hs: list plugins
miv command