Added global host variable(in consoleLogging.js) and the final touches