Flesh out the router worker to implement basic routing
Add tests for various helpers