Hi bitsobhani,
The address map is properly not the best location to contain all this information, but a host processor like a PC would be ideal.
If you look at the supplied out of the box demonstration (ZeD) it uses the ieee_addr_request or nwk_addr_request to discover all nodes, and based on the CSKIP algorithm you can determin which devices is routers and then travel through the network and find all nodes.
this is not a simple task that can easily covered in a forum reply. I can recommend trying out ZeD and then determine if this is the direction you want to take.
BR,
Mads