parse demo.topo and extract routes and image