Move EntityData to a separate file.