Refactored reverse router into a separate service
Moves router and reverse router to a separate script