Base structure for addUnits/addMachines in ecs

Checkpoint.

Add units and machines added to ECS - tests pass.

Make lint happy

Tests added for new ECS methods.