Added internet functions

Doesn't work as yet.