routing first implementation
refac : add socket to prototype
refact
fix