Comment updates
Made read buffer configurable
More code factoring and comment improvements
More code factoring and comment improvements