added check connection status ; enhanced errors; extracted telemetry port magic number
added logging of int values
moved logging under src/include directories