Switch to entity component system