add reset function
add draw graph on "end"
add config for serial settings