added a draft of a lua plugin (automatic wrapping on the todo list), and a draft of a code generator (to generate wrappings for custom languages for plugins). I worked to make things more agnotic in many ways