route changes , added autoprune feature in auto routes, updated error handler.