organize the routes and sio files and functions