add more robust router first

streamlined the process of requesting
Merge pull request #8 from zachmokahn/router

add more robust router first