Added code for gathering routing information
adjusted debug outputs
added debug outputs
adjusted debug outputs