clean up
schedule connection in current run loop
header files more clean