Added function that always returns the localhost.
Added exceptions for invalid keys.
Continued implementing autobackup.py.