changed cArray to index
Revert "changed cArray to index"

This reverts commit c74d768472f520c99be15b2bc41edc8fc191883c.
Revert "Changed CEntity -> Table and CArray -> Index"

This reverts commit a0bbbd35e0b023f56cabda70fd8d1e4e36c96171.
index -> key
find/replace CEntity -> Table + cEntity -> table
CArray -> Index, cArray -> index