added threads for IO in stead of timers

Signed-off-by: MrRadiotron <MrRadiotron@crossTerm.lead>