Routes divided to http and socket routes, added 'export model' routes