Created API using Lua objects in the engine.