Initial commit. Dealing with detecting internet connectivity