add muti-thread front controller