Refactoring of SendThread

Refactoring of sendthread.
Removed printfs from carserver