- source code house-keeping
- moved topology searching functions to a separate file (util.py)
- changed the coding logic for node-port searching