anchor.diff:      gen_server:call(?MODULE, update_routing_table).
   
   %%--------------------------------------------------------------------
  +%% Function: reshard/1
  +%% Description: Currently sets up validation filters for resharding the Db
  +%% Returns: The new dict
  +%%--------------------------------------------------------------------
  +reshard(Db) ->
  +    gen_server:call(?MODULE, {reshard, Db}).
  +
  +%%--------------------------------------------------------------------
   %% Function: fill_routing_table/1
   %% Description: Creates and fills the routing table
   %% Returns: The new dict
   %%--------------------------------------------------------------------
   fill_routing_table() ->
  -    Dict1 = dict:store(1, "http://localhost:5985/", dict:new()),
  -    Dict2 = dict:store(2, "http://localhost:5986/", Dict1),
  -    dict:store(3, "http://localhost:5987/", Dict2).
  +%    Dict1 = dict:store(1, "http://localhost:5988/", dict:new()),
  +%    dict:store(2, "http://localhost:5989/", Dict1).
  +    dict:store(1, "http://localhost:5984/", dict:new()).
   
   %%--------------------------------------------------------------------
   %% Function: handle_call/3
  
positive.code: -export([handle_call/3, handle_cast/2, handle_info/2, code_change/3]).
  
  % Functions for general use
  -export([update_routing_table/0, to_list/0, get_server/2]).
  
  % Artificial export for upgrading
  -export([fill_routing_table/0]).
  
  -vsn(0.3).
  
  %%--------------------------------------------------------------------
  %% EXPORTED FUNCTIONS
  
negative.code:     {reply, dict:to_list(RoutingTable), RoutingTable};
  handle_call(update_routing_table, _From, _OldRoutingTable) ->
      {upgrade, PreVersion, PostVersion} = reload_routing_table(),
      {reply, {upgrade, PreVersion, PostVersion}, ?MODULE:fill_routing_table()};
  handle_call({reshard, Db}, _From, RoutingTable) ->
      {reply, execute_reshard(Db, RoutingTable), RoutingTable}.
  
  %%--------------------------------------------------------------------
  %% Function: handle_cast/2
  