Adding a constructor necessary for the ECS