Makes the router more general

The router requests are managed as 'normal' requests.
Adds base support for the github requests