added type converters, refactor of LuaType enum, some class header comments