Cleanup topology creation a bit
Write binary file to build path