Routing functionality Updated

Now Routing can be done to a subsection level which will reduce the
loops