Initial support for Entity creation in lua