fix worker variable
add automatic restart and control REPL
1.0.0