Further refactoring of tempalte for generated plugin class. Action creation is now done in a helper script to pave the way to allow the user to have more options over generated plugin. See #11.