improve interface to topology info
updated topology_printer example
adding port features to topology
bug fix for previous commit