anchor.diff:  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
   
  -
  -
  -
   terminate(_Reason,_State) ->
   	ok.
   
  
positive.code: 
  stop() ->
  	gen_server:cast(cake,stop).
  
  
  
  
  
  
negative.code:     {ok,DataDir} = application:get_env(cake,data_dir),
  
      case filelib:ensure_dir(DataDir) of
          {error,Reason}  -> lager:error("Cannot open '~p': ~p",[DataDir,Reason]);
          ok              -> cake_stream_manager:start_link(),
                             lager:info("CakeDB Ready."),
                             {ok,{}}
      end.
  
  
  