Send the root object to the client
Move github logic into it's own handler