Code cleanup

Removed const host name. renamed logger.