Added detection of internet connection and appropriate message.
Added supporting files fo internet connection detection.