Entity Component system like Artemis implemented in C