Removed unwanted activities, added Util class for checking internet connection