added protocol bufs, consolodated vec sending across client and server