Moved the route definites to a separate file
Added multiplex support