Reimplement resolveCollisions in Core class to accomodate parent-child tree structure. Reimplement component structure, by decoupling them into separate arrays. Reimplement update in class Entity to use new component structure.