added comments to serial reader class