Forward and backward added to connections and neurons