Revert "faster string path matching"

This reverts commit 35f74498e7430c9c968a35926c638bd93ff57680.
make router thread safe
Merge pull request #4 from jackxxu/multiplex_routes

minor fixes in routing