anchor.diff:  %% Easymmo map manager (all objects must be place to the map)
   
   -module(emmo_map).
  --include_lib("amqp_client.hrl").
  +% -include_lib("amqp_client.hrl").
   
   -export([start_link/2]).
   -export([terminate/2]).
  
positive.code: 
  add(K, V) ->
  	Reply = gen_server:call(?MODULE, {add, K, V}).
  
  lookup(K) ->
  	Reply = gen_server:call(?MODULE, {lookup, K}).
  
negative.code: 	riakc_pb_socket:put(Pid, Obj1),
  	{reply, ok, State};
  
  handle_call({remove, K}, From, State) ->
  	Pid = State,
  	MyBucket = <<"map">>,
  	BinK = erlang:list_to_binary(K),
  	riakc_pb_socket:delete(Pid, MyBucket, BinK),
  	{reply, ok, State};
  
  handle_call({move, K, NewV}, From, State) ->
  	Pid = State,
  	MyBucket = <<"map">>,
  	BinK = erlang:list_to_binary(K),
  	{ok, Fetched1} = riakc_pb_socket:get(Pid, MyBucket, BinK),
  	UpdatedObj1 = riakc_obj:update_value(Fetched1, NewV),
  	{ok, NewestObj1} = riakc_pb_socket:put(Pid, UpdatedObj1, [return_body]),
  	%% check returned value
  	NewV = binary_to_term(riakc_obj:get_value(NewestObj1)),
  	{reply, ok, State};
  
  handle_call({lookup, K}, From, State) ->
  	Pid = State,
  	MyBucket = <<"map">>,
  