anchor.diff:            terminate_app_instances/1,
             add_application/1, add_application/2,
             update_application/2,
  +          restart_by_name/1,
             spawn_update_bee_status/3,
             request_to_start_new_bee_by_name/1,
             request_to_start_new_bee_by_name/2,
  
positive.code: 
  handle_call({request_to_save_app, App}, From, State) ->
    handle_queued_call(fun() -> apps:save(App) end, From, State);
  
  handle_call({start_new_bee_by_name, Name, Caller}, From, State) ->
    case apps:find_by_name(Name) of
  
negative.code: terminate_app_instances(Appname) ->
    gen_server:cast(?SERVER, {terminate_app_instances, Appname}).
  
  restart_by_name(Name) ->
    gen_server:call(?SERVER, {restart_by_name, Name}).
  
  terminate_all() -> gen_server:cast(?SERVER, {terminate_all}).
  
  %%====================================================================
  