Restructuring the network exploration functionality and implementing the path construction