Started work on the entity system api that is exposed to the lua scripts