removed unused code
add myself to header
add sendfunc
cleanup, removed dead code
reduce buffer sizes