some work with reactors

Signed-off-by: cout970 <thecout970@gmail.com>
reactor almost finished only need finish the io interface

Signed-off-by: cout970 <thecout970@gmail.com>