Change some naming to facilitate Lua bindings generation. Begin work on Lua bindings.