Better handling for when an interface is not defined.
Moved the https call out for easier use with mock.
Removed pytext dependancy.