added documentation to interactive entity and entity state