Cleaned up RouteManager and moved shared functionality to epd-common