Revert "Added serial read code into serial library"

This reverts commit 1e6be88b09093e02da2bfa6f24eb24a715fcbc55.
pull in the revert of first round code from master