add lua class/object mechanism