Remove dead code
Avoid import of traverse_
Remove unused Slave target field
Extract Lib.BuildMaps