router basic structure complete
added delivery info to client and added debug output