Removed unnecessary functions

Cleaned up code, removed the loadconfigs function as it was unnecessary, commented out HOST line.