Moved routes to their separate module, made sure io gets passed to routes