Added a Network Helper class

This Class checks for and internet connection,  in the splash screen