Added a routes manager for endpoints