Adding some code to pyRouterLib.py. It's still a work in proress.