changed Entity's get_component and World's globaldata to use dynamic so that dartanalyzer doesn't complain