Dynamic Routing

Added Dynamic routing