Changing Entity id to public to avoid unnecessary accessor calls.
Replacing Array .get(index) access with direct array[i] access.
Updated readme