Move about response generator into a separate function
Move fetch response generator into separate function also
Move code to receive chunks of serial data into separate function