replace dmc_ with lua_, misc re-org & cleanup
fix error, missing ,
update from changes in lua_objects