   end
 
   # setter and getter functions
-  Enum.each([:store, :session, :socket, :priv, :topics], fn name ->
+  Enum.each([:store, :socket, :priv, :topics], fn name ->
     get_name = String.to_atom("get_#{name}")
     update_name = String.to_atom("set_#{name}")
 

  end

  # casts for update values from the state
  Enum.each([:store, :session, :socket, :priv, :topics], fn name ->
    msg_name = String.to_atom("set_#{name}")
    @doc false
    def handle_cast({unquote(msg_name), value}, state) do

        }

  defstruct store: %{},
            commander: nil,
            commanders: [],
            controller: nil,
