Add GetDepth in Lua API.
Update Lua API, Add Load and Save function in Resource.