Added ECS implementation, debugging segfault in Entity destructor.