re-factored SerialConnection to ISerialConnection interface and removed stuff which is not compatible with NetStandard