Moved hostname module into base