started working on connections and message sending