code: function loadFlow( name ) {
        assert( name ).hasType( String ).isNotNull();
        return artifactProvider.forFlow( name )
           .definition()
           .then( flow => router.registerRoutes(
              assembleRoutes( flow ),
              createFallbackHandler( flow )
           ) );
     }
docs: ///////////////////////////////////////////////////////////////////////////////////////////////////////// 
  Load the given flow definition and configure the router.
  
  @param {String} name
  name of the flow to load
  
  @return {Promise}
  a promise that is resolved when all routes have been registered