Added Vector buffer

Included vector in controlthread and added a typedef for the transmit
buffer.