Removed debugging code from ``internet_on``
Remove Berkeley DB code (since bsddb was deprecated in Python 3), and re-organize utils.py code.
More code re-organization