Started work on lua entity wrapper