Changed the entities structure
Directly mapping ids to indexes
Using an atom/map for indices

Because, whatever, it feels a lot cleaner
An entities each macro to clean things up

HELLA MACRO WIZARD