refactoring the routing a bit so route events dont require the URL to be known up front and separating url params from resolved ata