fix server.js: factor out iobackends to it's own file and invoke it on start

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>