added simple logging
implemented logging
run bot in own thread
removed newline
socket stuff
connect