Added support for checking network connection. Bunch of cool debugging options. And as well as a test activity.