Refactored the systems so they all have a HandleSingleEntity function, instead of all code in just one big loop.