added some initial lua infrastructure