optimised handleSerialInput programflow in console process
added console process flowchart